package com.authine.cloudpivot.web.api.secondopen.dao;

import com.authine.cloudpivot.engine.api.model.organization.UserModel;
import com.authine.cloudpivot.web.api.secondopen.domain.HOrgUser;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: brookpeng
 * @Date: 2021/8/31 13:34
 */
@Repository
public interface UserMapper {

    public HOrgUser selectUserInfo(String id);

    public List<HOrgUser> selectUserInfoByEmployeeNo(String employeeNo);

    //获取用户的头像的refid
    UserModel selectRefId(@Param(value = "tableName") String tableName, @Param(value = "id") String id);

}
